dict={}
with open("english.doc","r")as file:
    data=file.read()
data=data.lower()
data=data.replace(',','').replace('.','')
data=data.split()
print(data)
setword=set(data)
for i in setword:
    count=data.count(i)
    print(i,'出现次数：',count)
